﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZX.CRM.Library;
using ZX.EHR.Library;
namespace ZX.CRM.Bussiness
{
    public class BVuseremp : BLL.Extend.BaseBussnies
    {
        /// <summary>
        /// 根据用户获取用户的相关信息
        /// </summary>
        /// <returns></returns>
        public V_UserEmp getUserInfoByUserId(Guid?  userID)
        {
            this.entity = new V_UserEmp();
            return (V_UserEmp)this.GetEntityByCondition("UserID='" + userID + "'");
        }
        /// <summary>
        /// 根据用户获取用户的相关信息
        /// </summary>
        /// <returns></returns>
        public DatUser getDatUserByUserId(Guid? userID)
        {
            this.entity = new DatUser();
            return (DatUser)this.GetEntityByCondition("UserID='" + userID + "'");
        }
    }
}
